projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad6f492
)
gdkwindow: Remove an unused assignment
author
Philip Withnall
<philip.withnall@collabora.co.uk>
Mon, 2 Dec 2013 10:42:00 +0000
(10:42 +0000)
committer
Philip Withnall
<philip.withnall@collabora.co.uk>
Mon, 2 Dec 2013 10:51:07 +0000
(10:51 +0000)
The show variable is assigned to in both branches of an if block a
little further down.
Found with scan-build.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
gdk/gdkwindow.c
patch
|
blob
|
history
diff --git
a/gdk/gdkwindow.c
b/gdk/gdkwindow.c
index 55b37b3f8da0069e6ef9873c90c4fee965013c95..a890e11ddfecea3d51951aa0d8f46fe2d55f9777 100644
(file)
--- a/
gdk/gdkwindow.c
+++ b/
gdk/gdkwindow.c
@@
-1546,7
+1546,6
@@
gdk_window_reparent (GdkWindow *window,
old_parent = window->parent;
was_mapped = GDK_WINDOW_IS_MAPPED (window);
- show = FALSE;
/* Reparenting to toplevel. Ensure we have a native window so this can work */
if (new_parent->window_type == GDK_WINDOW_ROOT ||